﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/1 18:25:02
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{

    [DataContract]
    public class JsonComicCategorySpecialInfoSpecial
    {
        [DataMember(Name = "specialid")]
        public int Specialid { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }

        [DataMember(Name = "position")]
        public int Position { get; set; }

        [DataMember(Name = "name")]
        public string Name { get; set; }
    }

    [DataContract]
    public class JsonComicCategorySpecialInfo
    {

        [DataMember(Name = "specials")]
        public ObservableCollection<JsonComicCategorySpecialInfoSpecial> Specials { get; set; }
    }

    [DataContract]
    public class JsonComicCategorySpecial
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicCategorySpecialInfo Info { get; set; }
    }
}
